FELT: A Far Future Event List Structure Optimized for Calendar Queues

نویسندگان

  • Timothy Chee-Kin Hui
  • Ian Li-Jin Thng
چکیده

Calendar queues (CQ) are often employed in discrete event simulators to store pending events. They can achieve O(1) access time as long as the CQ resizes often enough to ensure that events are not skewed but evenly distributed in the queue structure. However, a resize operation would involve creating a new CQ structure and then moving each item from the old CQ to the new CQ before discarding the old CQ. Hence, such resizes can be costly if the size of the queue is very large. This article proposes a new secondary queuing structure that complements the primary CQ structure. Known as FELT (far future event leaf tree), the secondary FELT structure is a lazy queue (i.e., semisorted) structure that manages events that are considered to be too far away to be considered in the primary CQ structure. The FELT structure is shown to be far superior than the dynamic lazy calendar queue.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Relation : Lazy Queue Implementation and Analysis

1 Lazy Queue 1.1 Lazy Queue Description The lazy queue [1] is based on multi-list and extends the idea of calendar queue. The set is divided into tree part and only a little part is kept sorted: ❶ a near future (NF) that is kept sorted, ❷ a far future (FF), that is partially sorted1, ❸ a very far future (VFF), that is used as an overflow bucket As time advances, part of the far future (the firs...

متن کامل

Smart priority queue algorithms for self-optimizing event storage

Low run-time overhead, self-adapting storage policies for priority queues called Smart Priority Queue (SPQ) techniques are developed and evaluated. The proposed SPQ policies employ a lowcomplexity linear queue for near-head activities and a rapid-indexing variable bin-width calendar queue for distant events. The SPQ configuration is determined by monitoring queue access behavior using cost-scor...

متن کامل

Event List Management in Distributed Simulation

Efficient management of events lists is important in optimizing discrete event simulation performance. This is especially true in distributed simulation systems. The performance of simulators is directly dependent on the event list management operations such as insertion, deletion, and search. Several factors such as scheduling, checkpointing, and state management influence the organization of ...

متن کامل

A New Form of Efficient Tree-based Priority Queues for Discrete Event Simulation

A priority queue plays an important role in stochastic discrete event simulations for as much as 40% of a simulation execution time is consumed by the pending event set management. This article describes a new form of tree-based priority queues which employs the demarcation procedure to systematically split a single tree-based priority queue into many smaller trees, each divided by a logical ti...

متن کامل

A Comparative Study of Some Priority Queues Suitable for Implementation of the Pending Event Set1

Implementation of the pending event set (PES) is often crucial to the execution speed of a simulation. Parallel access implementation of the PES is a possible means of gaining performance improvement in discrete event simulation. In this paper a comparative study of some sequential and parallel access implementations of the PES is presented, these include linked lists, the Calendar Queue, the L...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Simulation

دوره 78  شماره 

صفحات  -

تاریخ انتشار 2002